<?php
	session_start();
	
	include("site/pre_header.php");
	
	$msg = '';
	if(isset($_SESSION['msg']))
	{
		$msg = $_SESSION['msg'];
		unset($_SESSION['msg']);
	}
?>
<body>
<div id="main">
	<?php
        include("site/header.php");
		if($msg != '')
		{
			echo '<div id="msg">'.$msg.'</div>';
		}
		echo '<div id="allcontents">';
        include("site/sideleft.php");
        include("site/sideright.php");
        include("site/body.php");
		echo '</div>';
        include("site/footer.php");
    ?>
</div>
<body>
</body>
</html>
<?php
//	header('Location: site/front.php');
	
?>